VxSetLeftOffsets widgets [MotifOffset] [CHARMOffset]
Given a list of widgets which have been created with -alignRight relative to the previous Label, sets the left offset of the first widget so that all the Labels fit on the Form.
The following code illustrates the use of VxSetLeftOffsets.
set app [VtOpen demo] set fn [VtFormDialog $app.fn -title "VxSetLeftOffsets Demo" ] set but1 [VtPushButton $fn.but1 -label "Kumquat"] set but2 [VtPushButton $fn.but2 \ -alignRight $but1 \ -label "Grapefruit"] list widgetlist lappend widgetlist $but1 lappend widgetlist $but2 VxSetLeftOffsets $widgetlist VtShow $fn VtMainLoop
This code produces the following: